import instance from '@/utils/request'
interface IAddBannerParams {
  img: string
  alt: string
  link: string
}
export const doAddBanner = () => {
    return instance.get('/banner/list')
}
export function addBanner (params: IAddBannerParams) {
  return instance.post('/banner/add', params)
}

 